class UploadController < ApplicationController
  def index
    @articles=Article.all
    @events=Event.all
    @channels=Channel.all
    render :file => 'app/views/events/up_another_images.html.erb'
  end
  
  def uploadfile
    post = UploadFile.save(params[:upload])
    render :text => "File has been uploaded successfully"
  end
end
